<div class="grid_4">
    <div class="da-panel">
        <div class="da-panel-header">
            <span class="da-panel-title">
                <img alt="" src="<?php echo $this->themeUrl; ?>/files/theme/images/icons/color/monitor.png">
                Quản lý đơn hàng
            </span>
        </div>
        
        <div id="da-ex-tabs" class="ui-tabs ui-widget ui-widget-content ui-corner-all">
            <?php $this->renderPartial('_tabs', array('selected' => 'admin'))?>
            <div role="grid" class="dataTables_wrapper" id="da-ex-datatable-numberpaging_wrapper">
                <?php $this->widget('zii.widgets.grid.CGridView', array(
                    'id'=>'store-grid',
                    'dataProvider'=>$model->search(),
                    'template' => "{items}\n{summary}\n{pager}",
                    'summaryCssClass' => 'dataTables_info',
                    'pagerCssClass' => 'dataTables_paginate paging_full_numbers',
                    'itemsCssClass' => 'da-table dataTable',
                    'summaryText' => 'Hiển thị từ {start} đến {end} trong {count} kết quả.',
                    'columns'=>array(
                        'id',
                        'type',
                        'type_id',
                        'shop_id',
                        'store_id',
                        'created',
                        'user_id',
                        'desc',
                        'status',
                        array(
                            'class'=>'CButtonColumn',
                        ),
                    ),
                )); ?>             
            </div> 
        </div>

    </div>
</div>       